package com.qyhl.webtv.module_circle.circle.circleshield;

import android.widget.ImageView;

import com.qyhl.webtv.commonlib.entity.circle.CircleHomeBean;

import java.util.List;

/**
 * Created by qyhl on 2018/3/7.
 */

public interface CircleShieldContract {
    interface CircleShieldView {
        void getListSuccess(List<CircleHomeBean.User> beanList);

        void setNetError(String msg);

        void setError(String msg);

        void blockSuccess(String msg, ImageView imageView);

        void blockError(String msg);

        void unBlockSuccess(String msg, ImageView imageView);

        void unBlockError(String msg);
    }

    interface CircleShieldPresenter {
        void getShieldList();

        void getListSuccess(List<CircleHomeBean.User> beanList);

        void getListError(int code, String msg);

        void doBlock(String username, ImageView imageView);

        void undoBlock(String username, ImageView imageView);

        void blockSuccess(String msg, ImageView imageView);

        void blockError(String msg);

        void unBlockSuccess(String msg, ImageView imageView);

        void unBlockError(String msg);
    }

    interface CircleShieldModel {
        void getShieldList();

        void doBlock(String username, ImageView imageView);

        void undoBlock(String username, ImageView imageView);
    }
}
